﻿CREATE TABLE [dbo].[Policy] (
    [Id]            INT              IDENTITY (1, 1) NOT NULL,
    [NId]           UNIQUEIDENTIFIER CONSTRAINT [DF_Policy_NId] DEFAULT (newid()) NULL,
    [Fid]           INT              NULL,
    [Title]         NVARCHAR (200)   NULL,
    [Content]       VARCHAR (MAX)    NULL,
    [UpName]        NVARCHAR (20)    NULL,
    [IsAll]         BIT              NULL,
    [IsDing]        BIT              NULL,
    [IsEnd]         BIT              NULL,
    [CreateTime]    DATETIME         NULL,
    [UpTime]        DATETIME         NULL,
    [EndTime]       DATETIME         NULL,
    [CompanyId]     INT              NULL,
    [CompanyIdList] NVARCHAR (500)   NULL,
    CONSTRAINT [PK_Policy] PRIMARY KEY CLUSTERED ([Id] ASC)
);

